package com.woniuxy02;

import java.util.Scanner;

/**
 * @author 作者
 * @create 2025-07-15 14:04
 */
public class Test04 {
    public static void main(String[] args) {
        boolean b1=true;
        System.out.println(b1);
        b1=false;
        System.out.println(b1);
        Scanner scanner=new Scanner(System.in);
        System.out.println("输入张三的年龄");
        int age=scanner.nextInt();
        boolean flag=age>18;
        System.out.println("张三的年龄是否大于18岁？"+flag);
        System.out.println(1==1);
        System.out.println(1!=1);
        System.out.println(3>2);
        System.out.println(3<2);
    }
}
